Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve code readability by adding type hints#140

Merged
shima004 merged 1 commit into
main from
fix/add-type-hint
Apr 7, 2026
Merged

Improve code readability by adding type hints #140
shima004 merged 1 commit into
main from
fix/add-type-hint

Conversation

@shima004

@shima004 shima004 commented Apr 7, 2026

Copy link
Copy Markdown
Member

This pull request updates the initialization of several class attributes across multiple files to include explicit type annotations. This change improves code clarity, helps with static type checking, and enhances maintainability by making the expected types of instance variables clear.

Type annotation improvements:

  • Added explicit type annotations to instance variables in the ExtendAction class constructor in extend_action.py.
  • Added explicit type annotations to instance variables in the CommandExecutor class constructor in command_executor.py.
  • Added explicit type annotations to instance variables in the CommandPicker class constructor in command_picker.py.

@shima004 shima004 self-assigned this Apr 7, 2026
@shima004 shima004 merged commit f917617 into main Apr 7, 2026
4 checks passed
@shima004 shima004 deleted the fix/add-type-hint branch April 7, 2026 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /